home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Presentations / Presentations ’97 / Sessions ’97 / Multiplatform Code⁄Data Sharing / HelloBothWorlds / Libraries / reschain.h < prev    next >
Encoding:
Text File  |  1997-06-26  |  461 b   |  19 lines  |  [TEXT/CWIE]

  1.  
  2. // mail <chelly@eden.com> or surf http://www.eden.com/~chelly for feedback
  3. // free source code - do whatever you like with it
  4.  
  5. // resource access for application
  6. // could be expanded to allow multiple open files and the "chaining"
  7. // as the Mac resource manager does
  8.  
  9. #ifndef reschain_H
  10. #define reschain_H
  11.  
  12. void  OpenResourceFile( const char* );
  13. void  CloseResourceFile();
  14. void* GetResourcePtr( long type, int id );
  15. void  ReleaseResourcePtr( void* );
  16.  
  17. #endif
  18.  
  19.